%display-flex-center {
    display: flex;
    align-items: center;
}
%display-column-center {
    display: flex;
    flex-direction: column;
}

.yakit-risk-details-content {
    overflow-y: auto;
    border: 1px solid var(--Colors-Use-Neutral-Border);
    :global {
        .ant-descriptions-bordered .ant-descriptions-view > table {
            table-layout: fixed;
        }
    }
    .content-heard {
        @extend %display-flex-center;
        align-items: flex-start;
        padding: 12px;
        border-bottom: 1px solid var(--Colors-Use-Neutral-Border);
        .content-heard-left {
            @extend %display-flex-center;
            overflow: hidden;
            .content-heard-severity {
                @extend %display-column-center;
                align-items: center;
                justify-content: center;
                .content-heard-severity-name {
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 16px;
                }
                svg {
                    width: 28px;
                    height: 28px;
                }
            }
            .content-heard-body {
                @extend %display-flex-center;
                gap: 8px;
                overflow: hidden;
                flex-wrap: wrap;
                .content-heard-body-title {
                    color: var(--Colors-Use-Neutral-Text-1-Title);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 24px;
                }
                .content-heard-body-description {
                    @extend %display-flex-center;
                    color: var(--Colors-Use-Neutral-Text-1-Title);
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 16px;
                    overflow: hidden;
                    .description-port {
                        flex-shrink: 0;
                    }
                    .url-info {
                        @extend %display-flex-center;
                        gap: 4px;
                        overflow: hidden;
                        .url {
                            color: var(--Colors-Use-Neutral-Text-1-Title);
                        }
                    }
                    .content-heard-body-time {
                        @extend %display-flex-center;
                        gap: 16px;
                        flex-shrink: 0;
                    }
                }
            }
        }
    }
    .content-resize-first {
        @extend %display-column-center;
        height: 100%;
        overflow: hidden;
        &-heard {
            @extend %display-flex-center;
        }
    }
    .content-resize-second {
        @extend %display-column-center;
        overflow-y: auto;
        height: 100%;
    }
}
.yakit-risk-details-content-no-border {
    border: 0;
}

.yakit-audit-risk-details-content {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--Colors-Use-Neutral-Border);
    :global {
        .ant-descriptions-bordered .ant-descriptions-view > table {
            table-layout: fixed;
        }
    }
    .content-heard {
        @extend %display-flex-center;
        align-items: flex-start;
        padding: 12px;
        border-bottom: 1px solid var(--Colors-Use-Neutral-Border);
        .content-heard-left {
            @extend %display-flex-center;
            overflow: hidden;
            .content-heard-severity {
                @extend %display-column-center;
                align-items: center;
                justify-content: center;
                .content-heard-severity-name {
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 16px;
                }
                svg {
                    width: 28px;
                    height: 28px;
                }
            }
            .content-heard-body {
                @extend %display-flex-center;
                gap: 8px;
                overflow: hidden;
                flex-wrap: wrap;
                .content-heard-body-title {
                    color: var(--Colors-Use-Neutral-Text-1-Title);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 24px;
                }
                .content-heard-body-description {
                    @extend %display-flex-center;
                    color: var(--Colors-Use-Neutral-Text-1-Title);
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 16px;
                    overflow: hidden;
                    .content-heard-body-time {
                        @extend %display-flex-center;
                        gap: 16px;
                        flex-shrink: 0;
                    }
                }
            }
        }
        .content-heard-right {
            @extend %display-flex-center;
            align-items: flex-start;
            flex: 1;
            justify-content: flex-end;
        }
    }
}
.yakit-audit-risk-details-content-no-border {
    border: 0;
}

.content-resize-collapse {
    height: 100%;
    display: flex;
    flex-direction: column;
    .main-title {
        border-left: 1px solid #eaecf3;
        border-bottom: 1px solid #eaecf3;
        border-right: 1px solid #eaecf3;
        background: var(--Colors-Use-Neutral-Bg);
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 4px 12px;
        align-items: center;
        align-self: stretch;

        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
    }
    .audit-result-collapse {
        flex: 1;
        overflow: auto;
        .node-content {
            width: 100%;
            overflow: hidden;
            display: flex;
            gap: 8px;
            align-items: center;
            .content-body {
                flex: 1;
                overflow: hidden;
                display: flex;
                flex-direction: row;
                gap: 8px;
                .name {
                    color: var(--Colors-Use-Neutral-Text-1-Title);
                    font-size: 12px;
                    font-weight: 500;
                    overflow: hidden;
                }
                .detail {
                    color: #b4bbca;
                    font-size: 12px;
                    font-weight: 400;
                    overflow: hidden;
                }
            }
        }
        :global {
            .ant-collapse-item > .ant-collapse-header {
                padding: 3px 0px 3px 0px !important;
            }
            .ant-collapse-header-text {
                flex: 1;
                overflow: hidden;
            }
        }
    }
}

.no-more {
    font-size: 12px;
    color: var(--Colors-Use-Neutral-Disable);
    text-align: center;
    padding: 12px;
    width: 100%;
}
